import Mock from 'mockjs'
import loginApi from './mockData/login'

// 拦截请求
Mock.mock('user/login', 'post', loginApi.postUser)
Mock.mock('user/register', 'post', loginApi.postRegister)
Mock.mock('user/allData', 'post', loginApi.postAllData)
Mock.mock('user/reset', 'post', loginApi.postResetOne)
Mock.mock('user/resetPwd', 'put', loginApi.putPwd)